<?php
/**
 *  Flvmeister
 *  a multi-format video transcoder class written in PHP5 
 *  Copyright (C) 2008  Marco Fischer <marco@flvmeister.com>
 * 
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by    
 *  the Free Software Foundation, either version 3 of the License, or
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 *
 */

/**
 * provides audioformat definitions
 *
 * @author Marco Fischer <marco@flvmeister.com>
 * @copyright Copyright (C) 2008  Marco Fischer <marco@flvmeister.com>
 * @package Flvmeister
 * @version 0.1-dev
 */
class Flvmeister_Formats_Audio
{
    const CODEC_MP3       = 0;

    const BITRATE_32K         = '32k';
    const BITRATE_64K         = '64k';
    const BITRATE_96K         = '96k';
    const BITRATE_128K        = '128k';
    const BITRATE_160K        = '160k';
    const BITRATE_192K        = '192k';
    const BITRATE_256K        = '256k';
    const BITRATE_320K        = '320k';

    const CHANNELS_NOSOUND    = 0;
    const CHANNELS_MONO       = 1;
    const CHANNELS_STEREO     = 2;

    const SAMPLERATE_8000     = 8000;
    const SAMPLERATE_11025    = 11025;
    const SAMPLERATE_22050    = 22050;
    const SAMPLERATE_44100    = 44100;
    const SAMPLERATE_48000    = 48000;

    const SAMPLEBITS_8        = 8;
    const SAMPLEBITS_16       = 16;
    const SAMPLEBITS_32       = 32;
}